<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_type_id" data-rule="required" data-field="name" data-primary-key="id" data-source="shopro/card/card_type/index" data-params='{"custom[status_switch]":"1"}' class="form-control selectpage" name="row[card_type_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recommend_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recommend_user_id" data-field="nickname" data-primary-key="id"  data-source="shopro/user/user/index" class="form-control selectpage"  data-rule="required"   name="row[recommend_user_id]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">生成数量</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[card_num]" type="number" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
